/*
 * @Author: xiaosihan 
 * @Date: 2023-03-05 16:01:27 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-08-22 23:39:49
 */

import hashHistory from "../..//hashHistory";
import { useEffect, useRef, useState } from "react";
import styles from "./ui.module.less";

interface Iprops {

}

// ui 页面
export default function Ui(props: Iprops) {

    const dom = useRef<HTMLDivElement | null>(null);
    const [data, setData] = useState({});

    const goto = (path: string) => {
        hashHistory.push(path);
    }
    useEffect(() => {

    }, []);

    return (
        <div>
            <button onClick={() => goto("/")} >goto home</button>
            <div className={styles.fontTest}>12321311111111111111</div>
        </div>
    );
}